package com.xvyy.tingshu.order.adapter;

import com.xvyy.tingshu.vo.order.OrderInfoVo;

/**
 * ClassName: PayWay
 * Package: com.xvyy.tingshu.order.adapter
 *
 * @Description:
 * @Author: xvyy
 * @Create: 2025/2/11 - 11:05
 * @Version: v1.0
 */
public interface PayWay {
    /**
     * 支付某一种支付方式的支持
     * @param payWay
     * @return
     */
    Boolean supportPayWay(String payWay);

    /**
     * 具体支付方法对应逻辑
     * @param orderInfoVo
     * @param orderNo
     * @param userId
     */
    void payWay(OrderInfoVo orderInfoVo, String orderNo, Long userId);
}
